home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple Reference & Presen…tion Library 4 (Reseller)
/
Apple Ref. & Pres. Lib.v4.0.iso
/
1-Reference
/
User Groups DB
/
User Groups.res
/
User Groups.res.rsrc
/
4DTE_15051
< prev
next >
Wrap
Text File
|
1990-04-04
|
540b
|
18 lines
Modkeys(Var1)
Var1 is of type Integer.
This external returns in Var1 the state of the 4 keyboard modifier keys when the external was called.
Be sure to initialize Var1 BEFORE using it in the external call!
256 - Command key down
512 - Shift key down
1024 - Caps lock key down
2048 - Option key down
(multiple keys will return additive results, eg. cmd+shift=256+512=768.)
To use, place in the During portion of the layout proc & call when you want to check the modifier keys.
From Sneakers Software, Inc.
By Paul Greenman [71211,3456]